package fr.pascal.service;

import fr.pascal.dao.CatalogueDaoImpl;

public class SingletonService {

	private static CatalogueServiceImpl service;
	
	static {
		CatalogueDaoImpl dao = new CatalogueDaoImpl();
		dao.intialisation();
		service = new CatalogueServiceImpl();
		service.setDao(dao);
	}
	
	public static CatalogueServiceImpl getService() {
		return service;
	}
}
